package com.zwz.mapper;

import com.zwz.entity.ExecutedPerson;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExecutedPersonMapper {
    int insert(ExecutedPerson entity);
    int update(ExecutedPerson entity);
    int deleteById(Integer id);
    ExecutedPerson selectById(Integer id);
    List<ExecutedPerson> selectByCaseNumber(String caseNumber);
    List<ExecutedPerson> selectActiveExecutions();
}